<!doctype html>
<html class="default no-js">
<head>
	<meta charset="utf-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<title>BlitScreenQuadCMD | ts</title>
	<meta name="description" content="Documentation for ts">
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<link rel="stylesheet" href="../assets/css/main.css">
</head>
<body>
<header>
	<div class="tsd-page-toolbar">
		<div class="container">
			<div class="table-wrap">
				<div class="table-cell" id="tsd-search" data-index="../assets/js/search.json" data-base="..">
					<div class="field">
						<label for="tsd-search-field" class="tsd-widget search no-caption">Search</label>
						<input id="tsd-search-field" type="text" />
					</div>
					<ul class="results">
						<li class="state loading">Preparing search index...</li>
						<li class="state failure">The search index is not available</li>
					</ul>
					<a href="../index.html" class="title">ts</a>
				</div>
				<div class="table-cell" id="tsd-widgets">
					<div id="tsd-filter">
						<a href="#" class="tsd-widget options no-caption" data-toggle="options">Options</a>
						<div class="tsd-filter-group">
							<div class="tsd-select" id="tsd-filter-visibility">
								<span class="tsd-select-label">All</span>
								<ul class="tsd-select-list">
									<li data-value="public">Public</li>
									<li data-value="protected">Public/Protected</li>
									<li data-value="private" class="selected">All</li>
								</ul>
							</div>
							<input type="checkbox" id="tsd-filter-inherited" checked />
							<label class="tsd-widget" for="tsd-filter-inherited">Inherited</label>
							<input type="checkbox" id="tsd-filter-externals" checked />
							<label class="tsd-widget" for="tsd-filter-externals">Externals</label>
							<input type="checkbox" id="tsd-filter-only-exported" />
							<label class="tsd-widget" for="tsd-filter-only-exported">Only exported</label>
						</div>
					</div>
					<a href="#" class="tsd-widget menu no-caption" data-toggle="menu">Menu</a>
				</div>
			</div>
		</div>
	</div>
	<div class="tsd-page-title">
		<div class="container">
			<ul class="tsd-breadcrumb">
				<li>
					<a href="../globals.html">Globals</a>
				</li>
				<li>
					<a href="../modules/_laya_d3_core_render_command_blitscreenquadcmd_.html">&quot;laya/d3/core/render/command/BlitScreenQuadCMD&quot;</a>
				</li>
				<li>
					<a href="_laya_d3_core_render_command_blitscreenquadcmd_.blitscreenquadcmd.html">BlitScreenQuadCMD</a>
				</li>
			</ul>
			<h1>Class BlitScreenQuadCMD</h1>
		</div>
	</div>
</header>
<div class="container container-main">
	<div class="row">
		<div class="col-8 col-content">
			<section class="tsd-panel tsd-comment">
				<div class="tsd-comment tsd-typography">
					<div class="lead">
						<p><code>BlitScreenQuadCMD</code> 类用于创建从一张渲染目标输出到另外一张渲染目标指令。</p>
					</div>
				</div>
			</section>
			<section class="tsd-panel tsd-hierarchy">
				<h3>Hierarchy</h3>
				<ul class="tsd-hierarchy">
					<li>
						<a href="_laya_d3_core_render_command_command_.command.html" class="tsd-signature-type">Command</a>
						<ul class="tsd-hierarchy">
							<li>
								<span class="target">BlitScreenQuadCMD</span>
							</li>
						</ul>
					</li>
				</ul>
			</section>
			<section class="tsd-panel-group tsd-index-group">
				<h2>Index</h2>
				<section class="tsd-panel tsd-index-panel">
					<div class="tsd-index-content">
						<section class="tsd-index-section tsd-is-inherited">
							<h3>Constructors</h3>
							<ul class="tsd-index-list">
								<li class="tsd-kind-constructor tsd-parent-kind-class tsd-is-inherited"><a href="_laya_d3_core_render_command_blitscreenquadcmd_.blitscreenquadcmd.html#constructor" class="tsd-kind-icon">constructor</a></li>
							</ul>
						</section>
						<section class="tsd-index-section ">
							<h3>Methods</h3>
							<ul class="tsd-index-list">
								<li class="tsd-kind-method tsd-parent-kind-class tsd-is-overwrite"><a href="_laya_d3_core_render_command_blitscreenquadcmd_.blitscreenquadcmd.html#recover" class="tsd-kind-icon">recover</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class tsd-is-overwrite"><a href="_laya_d3_core_render_command_blitscreenquadcmd_.blitscreenquadcmd.html#run" class="tsd-kind-icon">run</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="_laya_d3_core_render_command_blitscreenquadcmd_.blitscreenquadcmd.html#setcontext" class="tsd-kind-icon">set<wbr>Context</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class tsd-is-static"><a href="_laya_d3_core_render_command_blitscreenquadcmd_.blitscreenquadcmd.html#create" class="tsd-kind-icon">create</a></li>
							</ul>
						</section>
					</div>
				</section>
			</section>
			<section class="tsd-panel-group tsd-member-group tsd-is-inherited">
				<h2>Constructors</h2>
				<section class="tsd-panel tsd-member tsd-kind-constructor tsd-parent-kind-class tsd-is-inherited">
					<a name="constructor" class="tsd-anchor"></a>
					<h3>constructor</h3>
					<ul class="tsd-signatures tsd-kind-constructor tsd-parent-kind-class tsd-is-inherited">
						<li class="tsd-signature tsd-kind-icon">new <wbr>Blit<wbr>Screen<wbr>QuadCMD<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="_laya_d3_core_render_command_blitscreenquadcmd_.blitscreenquadcmd.html" class="tsd-signature-type">BlitScreenQuadCMD</a></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<p>Inherited from <a href="_laya_d3_core_render_command_command_.command.html">Command</a>.<a href="_laya_d3_core_render_command_command_.command.html#constructor">constructor</a></p>
								<ul>
									<li>Defined in laya/d3/core/render/command/Command.ts:38</li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>创建一个 <code>Command</code> 实例。</p>
								</div>
							</div>
							<h4 class="tsd-returns-title">Returns <a href="_laya_d3_core_render_command_blitscreenquadcmd_.blitscreenquadcmd.html" class="tsd-signature-type">BlitScreenQuadCMD</a></h4>
						</li>
					</ul>
				</section>
			</section>
			<section class="tsd-panel-group tsd-member-group ">
				<h2>Methods</h2>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-overwrite">
					<a name="recover" class="tsd-anchor"></a>
					<h3>recover</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-overwrite">
						<li class="tsd-signature tsd-kind-icon">recover<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<p>Overrides <a href="_laya_d3_core_render_command_command_.command.html">Command</a>.<a href="_laya_d3_core_render_command_command_.command.html#recover">recover</a></p>
								<ul>
									<li>Defined in laya/d3/core/render/command/BlitScreenQuadCMD.ts:134</li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<dl class="tsd-comment-tags">
									<dt>inheritdoc</dt>
									<dd></dd>
									<dt>override</dt>
									<dd></dd>
								</dl>
							</div>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-overwrite">
					<a name="run" class="tsd-anchor"></a>
					<h3>run</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-overwrite">
						<li class="tsd-signature tsd-kind-icon">run<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<p>Overrides <a href="_laya_d3_core_render_command_command_.command.html">Command</a>.<a href="_laya_d3_core_render_command_command_.command.html#run">run</a></p>
								<ul>
									<li>Defined in laya/d3/core/render/command/BlitScreenQuadCMD.ts:81</li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<dl class="tsd-comment-tags">
									<dt>inheritdoc</dt>
									<dd></dd>
									<dt>override</dt>
									<dd></dd>
								</dl>
							</div>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
					<a name="setcontext" class="tsd-anchor"></a>
					<h3>set<wbr>Context</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
						<li class="tsd-signature tsd-kind-icon">set<wbr>Context<span class="tsd-signature-symbol">(</span>context<span class="tsd-signature-symbol">: </span><a href="_laya_d3_core_render_rendercontext3d_.rendercontext3d.html" class="tsd-signature-type">RenderContext3D</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<p>Inherited from <a href="_laya_d3_core_render_command_command_.command.html">Command</a>.<a href="_laya_d3_core_render_command_command_.command.html#setcontext">setContext</a></p>
								<ul>
									<li>Defined in laya/d3/core/render/command/Command.ts:65</li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>设置渲染上下文</p>
								</div>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>context: <a href="_laya_d3_core_render_rendercontext3d_.rendercontext3d.html" class="tsd-signature-type">RenderContext3D</a></h5>
									<div class="tsd-comment tsd-typography">
										<p>渲染上下文</p>
									</div>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-static">
					<a name="create" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagStatic">Static</span> create</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-static">
						<li class="tsd-signature tsd-kind-icon">create<span class="tsd-signature-symbol">(</span>source<span class="tsd-signature-symbol">: </span><a href="_laya_resource_basetexture_.basetexture.html" class="tsd-signature-type">BaseTexture</a>, dest<span class="tsd-signature-symbol">: </span><a href="_laya_d3_resource_rendertexture_.rendertexture.html" class="tsd-signature-type">RenderTexture</a>, offsetScale<span class="tsd-signature-symbol">?: </span><a href="_laya_d3_math_vector4_.vector4.html" class="tsd-signature-type">Vector4</a>, shader<span class="tsd-signature-symbol">?: </span><a href="_laya_d3_shader_shader3d_.shader3d.html" class="tsd-signature-type">Shader3D</a>, shaderData<span class="tsd-signature-symbol">?: </span><a href="_laya_d3_shader_shaderdata_.shaderdata.html" class="tsd-signature-type">ShaderData</a>, subShader<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span>, screenType<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span>, commandbuffer<span class="tsd-signature-symbol">?: </span><a href="_laya_d3_core_render_command_commandbuffer_.commandbuffer.html" class="tsd-signature-type">CommandBuffer</a>, definedCanvas<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="_laya_d3_core_render_command_blitscreenquadcmd_.blitscreenquadcmd.html" class="tsd-signature-type">BlitScreenQuadCMD</a></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in laya/d3/core/render/command/BlitScreenQuadCMD.ts:62</li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>创建命令流</p>
								</div>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>source: <a href="_laya_resource_basetexture_.basetexture.html" class="tsd-signature-type">BaseTexture</a></h5>
									<div class="tsd-comment tsd-typography">
										<p>原始贴图 如果设置为null  将会使用默认的Camera流程中的原RenderTexture</p>
									</div>
								</li>
								<li>
									<h5>dest: <a href="_laya_d3_resource_rendertexture_.rendertexture.html" class="tsd-signature-type">RenderTexture</a></h5>
									<div class="tsd-comment tsd-typography">
										<p>目标贴图 如果设置为null，将会使用默认的camera渲染目标</p>
									</div>
								</li>
								<li>
									<h5><span class="tsd-flag ts-flagDefault value">Default value</span> offsetScale: <a href="_laya_d3_math_vector4_.vector4.html" class="tsd-signature-type">Vector4</a><span class="tsd-signature-symbol"> = null</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>偏移缩放</p>
									</div>
								</li>
								<li>
									<h5><span class="tsd-flag ts-flagDefault value">Default value</span> shader: <a href="_laya_d3_shader_shader3d_.shader3d.html" class="tsd-signature-type">Shader3D</a><span class="tsd-signature-symbol"> = null</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>渲染shader</p>
									</div>
								</li>
								<li>
									<h5><span class="tsd-flag ts-flagDefault value">Default value</span> shaderData: <a href="_laya_d3_shader_shaderdata_.shaderdata.html" class="tsd-signature-type">ShaderData</a><span class="tsd-signature-symbol"> = null</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>渲染数据</p>
									</div>
								</li>
								<li>
									<h5><span class="tsd-flag ts-flagDefault value">Default value</span> subShader: <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 0</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>subshader的节点</p>
									</div>
								</li>
								<li>
									<h5><span class="tsd-flag ts-flagDefault value">Default value</span> screenType: <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = BlitScreenQuadCMD._SCREENTYPE_QUAD</span></h5>
									<div class="tsd-comment tsd-typography">
									</div>
								</li>
								<li>
									<h5><span class="tsd-flag ts-flagDefault value">Default value</span> commandbuffer: <a href="_laya_d3_core_render_command_commandbuffer_.commandbuffer.html" class="tsd-signature-type">CommandBuffer</a><span class="tsd-signature-symbol"> = null</span></h5>
								</li>
								<li>
									<h5><span class="tsd-flag ts-flagDefault value">Default value</span> definedCanvas: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = false</span></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <a href="_laya_d3_core_render_command_blitscreenquadcmd_.blitscreenquadcmd.html" class="tsd-signature-type">BlitScreenQuadCMD</a></h4>
						</li>
					</ul>
				</section>
			</section>
		</div>
		<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
			<nav class="tsd-navigation primary">
				<ul>
					<li class="globals  ">
						<a href="../globals.html"><em>Globals</em></a>
					</li>
					<li class="current tsd-kind-module">
						<a href="../modules/_laya_d3_core_render_command_blitscreenquadcmd_.html">&quot;laya/d3/core/render/command/<wbr>Blit<wbr>Screen<wbr>QuadCMD&quot;</a>
					</li>
				</ul>
			</nav>
			<nav class="tsd-navigation secondary menu-sticky">
				<ul class="before-current">
				</ul>
				<ul class="current">
					<li class="current tsd-kind-class tsd-parent-kind-module">
						<a href="_laya_d3_core_render_command_blitscreenquadcmd_.blitscreenquadcmd.html" class="tsd-kind-icon">Blit<wbr>Screen<wbr>QuadCMD</a>
						<ul>
							<li class=" tsd-kind-constructor tsd-parent-kind-class tsd-is-inherited">
								<a href="_laya_d3_core_render_command_blitscreenquadcmd_.blitscreenquadcmd.html#constructor" class="tsd-kind-icon">constructor</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-overwrite">
								<a href="_laya_d3_core_render_command_blitscreenquadcmd_.blitscreenquadcmd.html#recover" class="tsd-kind-icon">recover</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-overwrite">
								<a href="_laya_d3_core_render_command_blitscreenquadcmd_.blitscreenquadcmd.html#run" class="tsd-kind-icon">run</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
								<a href="_laya_d3_core_render_command_blitscreenquadcmd_.blitscreenquadcmd.html#setcontext" class="tsd-kind-icon">set<wbr>Context</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-static">
								<a href="_laya_d3_core_render_command_blitscreenquadcmd_.blitscreenquadcmd.html#create" class="tsd-kind-icon">create</a>
							</li>
						</ul>
					</li>
				</ul>
				<ul class="after-current">
				</ul>
			</nav>
		</div>
	</div>
</div>
<footer>
	<div class="container">
		<h2>Legend</h2>
		<div class="tsd-legend-group">
			<ul class="tsd-legend">
				<li class="tsd-kind-class"><span class="tsd-kind-icon">Class</span></li>
				<li class="tsd-kind-class tsd-has-type-parameter"><span class="tsd-kind-icon">Class with type parameter</span></li>
				<li class="tsd-kind-method tsd-parent-kind-class"><span class="tsd-kind-icon">Method</span></li>
			</ul>
			<ul class="tsd-legend">
				<li class="tsd-kind-variable"><span class="tsd-kind-icon">Variable</span></li>
				<li class="tsd-kind-function"><span class="tsd-kind-icon">Function</span></li>
			</ul>
			<ul class="tsd-legend">
				<li class="tsd-kind-constructor tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited constructor</span></li>
				<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited method</span></li>
			</ul>
			<ul class="tsd-legend">
				<li class="tsd-kind-enum"><span class="tsd-kind-icon">Enumeration</span></li>
			</ul>
			<ul class="tsd-legend">
				<li class="tsd-kind-interface"><span class="tsd-kind-icon">Interface</span></li>
			</ul>
			<ul class="tsd-legend">
				<li class="tsd-kind-method tsd-parent-kind-class tsd-is-static"><span class="tsd-kind-icon">Static method</span></li>
			</ul>
		</div>
	</div>
</footer>
<div class="overlay"></div>
<script src="../assets/js/main.js"></script>
</body>
</html>